package com.luofan.entity.dto;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * 档案条件查询参数
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class ArchiveQueryDTO {

    //档案所属用户id
    private Long userId;

    //档案所属教研室id
    private Long sectionId;

    //上传时间左闭区间
    private LocalDateTime uploadTimeLeft;

    //上传时间右闭区间
    private LocalDateTime uploadTimeRight;

    //档案主题
    private String theme;

    //审核状态(1:待审核,2:审核通过,3:未通过)
    private Integer status;

    // 当前页码
    private Integer pageNum;

    // 每页条数
    private Integer pageSize;

}
